﻿using Prism.Ioc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZDevice.Event;
using ZZMES.Data;
using ZZMES.TCP;

namespace ZZMES.Process
{
    public class ProcessBase
    {
        protected string[] DeviceNames =
        {
            "切筋成型",
            "激光打标",
            "框架打标",
            "冲胶1",
            "冲胶2",
            "排片1",
            "排片2",
            "半自动切筋",
            "塑封1",
            "塑封2"
        };

        protected readonly IEventAggregator eventAggregator;
        protected readonly IContainerProvider serviceContainer;
        protected readonly TCPHostService tcpHostService;
        protected readonly DataProviderService dataProviderService;
        public ProcessBase(IEventAggregator eventAggregator, IContainerProvider containerProvider,TCPHostService tcpHostService,DataProviderService dataProviderService) 
        {
            this.eventAggregator = eventAggregator;
            this.serviceContainer = containerProvider;
            this.tcpHostService = tcpHostService;
            this.dataProviderService = dataProviderService;

        }
    }
}
